######################################################################

Replication Data for: 

Guess, A., Munger, K., Nagler, J. and Tucker, J. 2019. "How accurate are survey responses on social media and politics?" Political Communication, 36(2), pp. 241-258.

######################################################################


Survey variables:

- *_post,*_post_political = self-reported (political) posting frequency
- *_friends, *_follow, etc. = self-reported amount of friends/number of politician accounts followed (numbers correspond to response categories)

Elicitation:

- fb_yes, twitter_yes = respondent says they have a FB/Twitter account
- text_in_twitter_box = input some text when asked for account
- could_scrape = we were able to match text with an existing account
- have_tweets = we were able to retrieve any tweets
- !is.na(numposts) = respondent authorized FB access


Computed from linked social media data:

- mean_ideo, mean_ideo_m = average estimated ideology of one’s Twitter friends (followees) and media accounts followed (estimated using “tweetscores" method outlined in Barberá 2014)
- numtweets, numpoltweets = total number of tweets / estimated number of political tweets posted by that respondent
- numtweetsday, etc. = estimated per day (computed a few different ways)
- numposts, numpolposts = equivalent for Facebook posts


Demographic variable codings:

gender:
 value     label
     1      Male
     2    Female
     8   Skipped
     9 Not Asked

race:
 value           label
     1           White
     2           Black
     3        Hispanic
     4           Asian
     5 Native American
     6           Mixed
     7           Other
     8  Middle Eastern
    98         Skipped
    99       Not Asked

faminc (family income):
 value               label
     1   Less than $10,000
     2   $10,000 - $19,999
     3   $20,000 - $29,999
     4   $30,000 - $39,999
     5   $40,000 - $49,999
     6   $50,000 - $59,999
     7   $60,000 - $69,999
     8   $70,000 - $79,999
     9   $80,000 - $99,999
    10 $100,000 - $119,999
    11 $120,000 - $149,999
    12 $150,000 - $199,999
    13 $200,000 - $249,999
    14 $250,000 - $349,999
    15 $350,000 - $499,999
    16    $500,000 or more
    31    $150,000 or more
    97   Prefer not to say
    98             Skipped
    99           Not Asked

 value                      label
     1            Strong Democrat
     2   Not very strong Democrat
     3              Lean Democrat
     4                Independent
     5            Lean Republican
     6 Not very strong Republican
     7          Strong Republican
     8                   Not sure
    98                    Skipped
    99                  Not Asked